Implantable medical device and method for managing advertising and scanning schedules

ABSTRACT

Methods and devices for managing establishment of a communications link between an external instrument (EI) and an implantable medical device (IMD) are provided. The methods and devices comprise storing, in memory in at least one of the IMD or the EI an advertising schedule defining a pattern for advertisement notices. The advertisement notices are distributed un-evenly and separated by unequal advertisement intervals. The method transmits, from a transmitter in at least one of the IMD or the EI the advertisement notices. The advertisement notices are distributed as defined by the advertising schedule. The method establishes a communication session between the IMD and the EI.

BACKGROUND

Embodiments of the present disclosure generally relate to systems and methods for establishing a communication link between devices, and more particularly to managing advertising and scanning schedules utilized to establish communication links between implantable medical devices and external instruments.

An implantable medical device (IMD) is a medical device that is configured to be implanted within a patient anatomy and commonly employs one or more leads with electrodes that either receive or deliver voltage, current or other electromagnetic pulses from or to an organ or tissue for diagnostic or therapeutic purposes. In general, IMDs include a battery, electronic circuitry, a pulse generator, a transceiver and/or a microprocessor that is configured to handle communication with an external instrument as well as control patient therapy. The components of the IMD are hermetically sealed within a metal housing.

IMDs are programmed by, and exchange data with, external instruments controlled by physicians and/or the patient. The external instruments use commercial operating systems (e.g., iOS, Android) that communicate through wireless bi-directional communication links with the IMDs. The bi-direction communication link is formed based on advertisement notices received by the external instruments. The advertisement notices are broadcast by the IMD at a predetermined constant frequency based on the wireless protocol. However, the current drain expended by the IMD to broadcast the advertisement notices can be too high where battery life is a concern, particularly in smaller devices that have limited space for batteries. To conserve current drain, it has been proposed to transmit advertisement notices at a lower frequency than defined by the wireless protocol, such as by waiting several seconds or minutes between transmission of successive advertisement notices (e.g., instead of a few seconds or milliseconds).

However, many external instruments have built in constraints related to how long the external instrument will monitor for advertisement notices for usability and power consumption purposes. If an advertisement notice is not received by the external instrument within a predetermined number of monitoring periods, the external instrument may decrease the frequency of the monitoring period. If the external instrument misses an advertisement notice, minutes may pass before the external instrument begins to monitor for an advertisement notice. When multiple unsuccessful monitoring periods occur, the battery of the external instrument is undesirably drained. A need exists for improved methods and systems to manage a communication link between the external instrument and an IMD.

BRIEF SUMMARY

In accordance with embodiments herein, a method is provided for managing establishment of a communications link between an external instrument (EI) and an implantable medical device (IMD). The method comprises storing, in memory in at least one of the IMD or the EI, an advertising schedule that defines a pattern for advertisement notices. The advertisement notices are distributed un-evenly and separated by unequal advertisement intervals. The method transmits, from a transmitter in at least one of the IMD or the EI, the advertisement notices distributed as defined by the advertising schedule. The method includes determining, at the IMD, when a connection request is received from the EI in connection with one of the advertisement notices. The method establishes a communications session between the IMD and the EI.

Optionally, the advertising schedule may include first and second advertisement intervals associated with first and second advertisement notices, respectively. The first and second advertisement intervals may differ from one another. The transmitting operation may comprise transmitting the first and second advertisement notices based on the first and second advertisement intervals. The method may alternate the transmitting operation between the first and second advertisement intervals. The advertising schedule may include at least first, second and third advertisement notices. The first and second advertisement notices may be spaced apart by a first advertisement interval and the second and third advertisement notices may be spaced apart by a second advertisement interval that is longer than the first advertisement interval.

The method may change the advertising schedule by at least one of i) changing one or both of first and second advertisement intervals, or ii) adding a third advertisement interval, in order to update the pattern for the advertisement notices. The method may further repeat the transmitting operation, over an advertising state. When a connection request from the EI is not detected, the method may determine a duration of the advertising state and perform the changing operation when the duration of the advertising state exceeds a predetermined threshold. Additionally or alternatively, the method may detect a new EI, and may perform the changing operation when the EI changes from a first EI to a second EI.

In accordance with embodiments herein, a method is provided for managing establishment of a communications link between an external instrument (EI) and an implantable medical device (IMD). The method comprises storing, in memory of at least one of the IMD or the EI, a scanning schedule that defines a pattern for scanning windows over a scanning state, wherein the scanning windows are grouped in a first segment of the scanning state. The method includes scanning for advertisement notices, utilizing a receiver in at least one of the IMD or the EI, during scanning windows, wherein the scanning windows are grouped in the first segment as defined by the scanning schedule. The scanning operation is repeated and the method establishes a communication link between the IMD and the EI. The method reconfigures the scanning schedule by changing at least one of i) a number of the scanning windows, ii) a spacing between the scanning windows or iii) a duration of the first segment, in order to update the pattern for the scanning windows.

Optionally, the scanning schedule defines a second segment of the scanning state. The second segment of the scanning state represents a quiescent segment that is devoid of scanning windows, wherein a duration of the second segment is at least as long as a duration of the first segment. Optionally, the scanning operation comprises opening at least first, second and third scanning windows, in the first segment, with an un-even spacing therebetween such that the first and second scanning windows are separated by a first scanning interval and the second and third scanning windows are separated by a different second scanning interval. Optionally, the scanning windows in the first segment are spaced apart from one another by scanning intervals, the scanning intervals linearly increasing between successive scanning windows.

In accordance with embodiments herein, an implantable medical device (IMD) is provided. The device comprises memory storing an advertising schedule that defines a pattern for advertisement notices. The advertisement notices are distributed un-evenly and separated by unequal advertisement intervals. A transmitter is configured to transmit the advertisement notices distributed un-evenly and separated by the unequal advertisement intervals as defined by the advertising schedule. A processor is configured to establish a communications link between the IMD and an external instrument (EI).

Optionally, the advertising schedule may include first and second advertisement intervals associated with first and second advertisement notices, respectively. The first and second advertisement intervals may differ from one another. The transmitter may be configured to transmit the first and second advertisement notices based on the first and second advertisement intervals. The transmitter may be configured to alternate transmission between the first and second advertisement intervals. The advertising schedule may include at least first and second advertisement notices to be spaced apart by an interval that may be shorter than a duration of at least one of the first or second advertisement notices. The processor may be further configured to determine when a connection request is received from the EI in connection with one of the advertisement notices.

Optionally, the processor may be further configured to change the advertising schedule by at least one of i) changing one or both of first and second advertisement intervals, or ii) adding a third advertisement interval, in order to update the pattern for the advertisement notices. The transmitter may be configured to repeat the transmitting operation, over the scanning state, when a connection request from the EI is not detected, and the processor is configured to determine a duration of the scanning state and perform the change when the duration of the scanning state exceeds a predetermined threshold. The processor may be further configured to detect a new EI and perform the change when the EI changes from a first EI to a second EI.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates simplified block diagram of a system for initiating a bi-directional communication link, according to an embodiment herein.

FIG. 2 illustrates a block diagram of an implantable medical device formed in accordance with embodiments herein.

FIG. 3 illustrates a block diagram of an external instrument operated in accordance with embodiments herein.

FIG. 4 is a timing diagram for establishing the wireless bi-directional communication link between the IMD and the EI in accordance with embodiments herein.

FIG. 5A illustrates an example of an advertising schedule and scanning schedule followed by the IMD and the EI, respectively, in accordance with embodiments herein.

FIG. 5B illustrates a timing diagram for an advertising schedule and scanning schedule followed by the IMD and the EI, respectively, in accordance with an alternative embodiment.

FIG. 5C illustrates a timing diagram for an advertising schedule and scanning schedule performed by the IMD and the EI in accordance with an alternative embodiment.

FIG. 6A illustrates a flowchart for a method performed by the IMD during the advertising state in accordance with embodiments herein.

FIG. 6B illustrates a flowchart for a method performed by the EI during the scanning state in accordance with embodiments herein.

FIG. 7 illustrates a process for changing the advertisement schedule in accordance with an embodiment.

DETAILED DESCRIPTION

It will be readily understood that the components of the embodiments as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations in addition to the described example embodiments. Thus, the following more detailed description of the example embodiments, as represented in the figures, is not intended to limit the scope of the embodiments, as claimed, but is merely representative of example embodiments.

Reference throughout this specification to “one embodiment” or “an embodiment” (or the like) means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” or the like in various places throughout this specification are not necessarily all referring to the same embodiment.

Various embodiments described herein include a method and/or system to manage advertisement and scanning schedules utilized in connection with establishing a wireless bi-directional communication link between an implantable medical device (IMD) and an external instrument (EI). The advertisement schedule is configurable to provide an uneven, unequal interval between successive advertisement notices. In accordance with at least one embodiment, an overall pattern for the advertisements may be managed to provide a total number of advertisement notices that is similar to existing even, constant intervals.

A technical effect of various embodiment described herein provides an advertising schedule that improves overall connectivity as compared to conventional advertising schedules. For example, the connectivity may be improved by shortening the time period that elapses while a user attempts to connect. Additionally or alternatively, a technical effect of various embodiments described herein provides a scanning schedule that improves overall connectivity as compared to conventional scanning schedules. The connectivity may also be improved by increasing the percentage of attempts that result in a connection, within a relatively short time period. By improving the connectivity, another technical effect of various embodiments described herein includes decreasing battery drain for both the IMD and the EI to establish a wireless bi-directional communication link.

FIG. 1 illustrates a simplified block diagram of a system 100 for initiating a bi-directional communication link. The system 100 includes an IMD 101 and an EI 201 (e.g., table computer, smart phone, smart watch, laptop, and/or the like), according to an embodiment. The IMD 101 may be implanted within a patient 106 (e.g., proximate to and/or within a heart 103, proximate to the spinal cord). Additionally or alternatively, the IMD 101 may have components that are external to the patient; for example, the IMD 101 may include an external pulse generator (EPG). Optionally, the IMD 101 may be one of various types of implantable devices, such as, for example, neurostimulator, patient, an implantable pacemaker, implantable cardioverter-defibrillator (ICD), defibrillator, cardiac rhythm management (CRM) device, an implantable pulse generator (IPG), or the like.

Optionally, the IMD 101 may be a leadless pacer, examples of which are disclosed in U.S. Pat. No. 9,072,913, entitled, “RATE RESPONSIVE LEADLESS CARDIAC PACEMAKER,” and U.S. Pat. No. 9,168,383, entitled “LEADLESS CARDIAC PACEMAKER WITH CONDUCTED COMMUNICATION,” which are expressly incorporated herein by reference. Additionally or alternatively, the IMD 101 may be a leadless monitor, examples of which are disclosed in U.S. patent application Ser. No. 15/084,373, filed Mar. 29, 2016, entitled “METHOD AND SYSTEM TO DISCRIMINATE RHYTHM PATTERNS IN CARDIAC ACTIVITY,” which is expressly incorporated herein by reference.

The EI 201 is configured to establish a wireless bi-directional communication link 104 with the IMD 101. The communication link 104 allows the EI 201 to receive measurements from the IMD 101, and to program or send instructions to the IMD 101. The communication link 104 may use a standard wireless protocol such as Bluetooth Low Energy, Bluetooth, Medical Implant Communication Service, and/or the like. The EI 201 may be located within a home of the patient 106, a hospital, an automobile, at an office of the patient 106, or the like.

FIG. 2 illustrates a block diagram of internal components of the IMD 101. The components described herein can include or represent hardware and software instructions (e.g., software stored on a tangible and non-transitory computer readable storage medium, such as a computer hard drive, ROM, RAM, or the like) that perform the operations described herein. The hardware may include electronic circuits that include and/or are connected to one or more logic-based devices, such as microprocessors, processors, controllers, or the like. Additionally or alternatively, the components may be hard-wired logic circuits.

The IMD 101 is for illustration purposes only, and it is understood that the circuitry could be duplicated, eliminated or disabled in any desired combination to provide a device capable of treating the appropriate heart chamber(s) with cardioversion, defibrillation and/or pacing stimulation as well as providing for apnea detection and therapy. Additionally or alternatively, the IMD 101 may be used to generate neurostimulation for application to a desired area of a body, such as spinal cord stimulation, the brain and the like.

The housing 138 for the IMD 101, shown schematically in FIG. 2, is often referred to as the “can”, “case” or “case electrode” and may be programmably selected to act as the return electrode for all “unipolar” modes. The housing 138 may further be used as a return electrode alone or in combination with one or more of the coil electrodes for shocking purposes. The housing 138 further includes a connector (not shown) having a plurality of terminals. The terminals may be configured to be coupled to different types of electrodes and leads. FIG. 2 illustrates various non-limiting examples of types/positions of electrodes that may be utilized. All or a portion of the terminals may be used in various combinations. It is recognized that alternative types of electrodes may be utilized in place of, or in addition to, the examples of FIG. 2. The following examples are provided as non-limiting examples of terminals: 142 (right atrial tip electrode), 144 (left ventricular tip electrode), 146 (left atrial ring electrode), 148 (left atrial coil electrode), 150 (acoustical terminal, ACT electrode), 152 (ventricular tip electrode), 154 (right ventricular ring electrode), 156 (right ventricular coil electrode), and 158 (superior vena cava coil electrode). In addition, a terminal 191 is indicated to be representative of one or more neural stimulation electrodes that may be utilized in place of or in addition to the above noted electrodes.

The IMD 101 includes a controller circuit 160 which controls operation of the IMD 101. The controller circuit 160 (also referred to herein as a processor module or unit) may include one or more processors, or equivalent control circuitry, designed specifically for controlling the delivery of stimulation therapy and may further include RAM or ROM memory, logic and timing circuitry, state machine circuitry, and I/O circuitry. Typically, the controller circuit 160 includes the ability to process or monitor input signals (data) as controlled by program code stored in memory. The details of the design and operation of the controller circuit 160 are not critical to the invention. Rather, any suitable controller circuit 160 may be used that carries out the functions described herein. Among other things, the controller circuit 160 receives, processes, and manages storage of digitized cardiac data sets from the various sensors and electrodes. For example, the cardiac data sets may include IEGM data, pressure data, heart sound data, and the like.

The IMD 101 includes pulse generators 170, 172 to generate stimulation pulses for delivery by one or more leads and/or electrodes. The stimulation may be configured in different manners, such as in connection with neural stimulation, pacing pulse stimulation, cardioversion stimulation, defibrillation shocks, and the like The pulse generators, 170 and 172, may include dedicated, independent pulse generators, multiplexed pulse generators or shared pulse generators. The pulse generators, 170 and 172, are controlled by the controller circuit 160 via appropriate control signals, 176 and 178, respectively, to trigger or inhibit the stimulation pulses.

The pulse generators 170, 172 may be represent atrial and/or ventricular pulse generators, where the stimulation pulses are delivered through a plurality of electrodes and/or leads located within or proximate to the heart. Optionally, the pulse generators 170, 172 may represent neurostimulation pulse generators to generate stimulation pulses for a brain or spinal cord nervous system. The stimulation pulses are delivered by a plurality of electrodes through the neuro output lead 191. The neuro stimulation pulse generator circuit is controlled by the controller circuit 160 via appropriate control signals to trigger or generate the stimulation pulses.

The controller circuit 160 further includes timing control circuitry 179 used to control the timing of such stimulation pulses (e.g., the neural stimulation waveforms, pacing rate, atria-ventricular (AV) delay, atrial interconduction (A-A) delay, or ventricular interconduction (V-V) delay, etc.) as well as to keep track of the timing of refractory periods, blanking intervals, noise detection windows, evoked response windows, alert intervals, marker channel timing, and the like. Switch 174 includes a plurality of switches for connecting the desired electrodes to the appropriate I/O circuits, thereby providing complete electrode programmability. Accordingly, the switch 174, in response to a control signal 180 from the controller circuit 160, determines the polarity of the stimulation pulses (e.g., unipolar, bipolar, etc.) by selectively closing the appropriate combination of switches (not shown).

A sensing circuit 182 and sensing circuit 184 may also be selectively coupled to one or more leads through the switch 174 for collecting sensed physiologic data (e.g. cardiac activity, neural activity, respiratory activity, etc.). The sensing circuits, 182 and 184, may include dedicated sense amplifiers, multiplexed amplifiers or shared amplifiers. The outputs of the sensing circuits, 182 and 184, are connected to the controller circuit 160 which, in turn, receives the sensed data and is able to trigger or inhibit the pulse generators, 170 and 172, respectively, in a demand fashion in response to the absence or presence of activity of interest.

Sensed signals are also applied to the inputs of an analog-to-digital (A/D) data acquisition system 190. The data acquisition system 190 is configured to acquire IEGM signals, neural signals, and the like. The data acquisition system 190 converts the raw analog data into a digital signal, and stores the digital signals in memory 194 for later processing and/or RF transmission to the EI 201. The data acquisition system 190 is coupled to one or more leads through the switch 174 to sample signals across any combination of desired electrodes. The data acquisition system 190 may also be coupled, through switch 174, to one or more of the acoustic sensors. The data acquisition system 190 acquires, performs A/D conversion, produces and saves the digital pressure data, and/or acoustic data.

The RF circuit 110 may be configured to handle and/or manage the bi-directional communication link between the IMD 101 and the EI 201. As explained herein, the RF circuit 110 transmits, among other things, advertising notices in accordance with one or more advertising schedules 195. The RF circuit 110 also scans for connection requests from the EI 201. The RF circuit 110 is controlled by the controller circuit 160 and may support one or more wireless communication protocols while communicating with the EI 201, such as Bluetooth low energy, Bluetooth, Medical Implant Communication Service (MICS), and/or the like. The RF circuit 110 may include a transmitter, receiver, and/or a transceiver. Optionally, the RF circuit 110 may be electrically coupled to an antenna (not shown). Protocol firmware may be stored in memory 194, which is accessed by the controller circuit 160. The protocol firmware provides the wireless protocol syntax for the controller circuit 160 to assemble data packets, advertisement notices, connection requests, connection responses, establish communication links 104, and/or partition data received from the EI 201.

The controller circuit 160 is coupled to the memory 194 by a suitable data/address bus 196, wherein the programmable operating parameters used by the controller circuit 160 are stored and modified, as required, in order to customize the operation of IMD 101 to suit the needs of a particular patient. The memory 194 also stores data sets (raw data, summary data, histograms, etc.), such as the IEGM data, heart sound data, pressure data, Sv02 data and the like for a desired period of time (e.g., 1 hour, 24 hours, 1 month). The memory 194 may store instructions to direct the controller circuit 160 to analyze the cardiac signals and heart sounds identify characteristics of interest and derive values for predetermined statistical parameters. The memory 194 stores one or more advertising schedules 195. The advertising schedule 195 may be loaded in the memory 194 at the time of manufacture, at the time of activation, at the time of installation or throughout operation. For example, an EI 201 may download one or more advertising schedules 195 to be used in connection with the corresponding EI 201. For example, when an IMD 101 initially begins communicating with a particular EI 201, the EI 201 may download a corresponding advertising schedule. Additionally or alternatively, a common advertising schedule 195 may be used with multiple EI 201. As a further example, the IMD 101 may update the advertising schedule 195 throughout operation, such as based upon the success rate at which communications links are established, based delays when establishing communications links and the like.

The pacing and other operating parameters of the IMD 101 may be non-invasively programmed into the memory 194 through the RF circuit 110 in bi-directional wireless communication with the EI 201. The RF circuit 110 is controlled by the controller circuit 160 and receives data for transmission over a control line 111. The RF circuit 110 allows intra-cardiac electrograms, pressure data, acoustic data, Sv02 data, and status information relating to the operation of IMD 101 (as contained in the controller circuit 160 or memory 194) to be sent to the EI 201 through an established bi-directional communication link 104. The RF circuit 110 also allows the EI 201 to program new pacing parameters and advertising schedules for the IMD 101.

To establish the communication link 104 between the EI 201 and the IMD 101, the controller circuit 160 may instruct the RF circuit 110 to transmit one or more advertisement notices on one or more advertisement channels corresponding to an advertising schedule 195 stored in memory 194. The advertisement channel is a point to multipoint, unidirectional, channel to carry a repeating pattern of system information messages such as network identification, allowable RF channels to establish the communication link 104, and/or the like that is included within the advertisement notice. The advertisement notice may be repeatedly transmitted after a set duration or an advertisement interval based on an advertising schedule stored in the memory 194 until the communication link 104 is established with the EI 201.

The IMD 101 may also include a physiologic sensor 112, such as an accelerometer commonly referred to as a “rate-responsive” sensor because it is typically used to record the activity level of the patient or adjust pacing stimulation rate according to the exercise state of the patient. Optionally, the physiological sensor 112 may further be used to detect changes in cardiac output, changes in the physiological condition of the heart, or changes in activity (e.g., detecting sleep and wake states) and movement positions of the patient. While shown as being included within IMD 101, it is to be understood that the physiologic sensor 112 may also be external to the IMD 101, yet still be implanted within or carried by the patient. A common type of rate responsive sensor is an activity sensor incorporating an accelerometer or a piezoelectric crystal, which is mounted within the housing 138 of the IMD 101.

Other types of physiologic sensors are also known, for example, sensors that sense the oxygen content of blood, respiration rate and/or minute ventilation, pH of blood, ventricular gradient, etc. However, any sensor may be used which is capable of sensing a physiological parameter that corresponds to the exercise state of the patient and, in particular, is capable of detecting arousal from sleep or other movement.

The IMD 101 additionally includes a battery 113, which provides operating power to all of the circuits shown. Optionally, the IMD 101 may include an impedance measuring circuit 115 which is enabled by the controller circuit 160 via a control signal 114. Herein, impedance is primarily detected for use in evaluating ventricular end diastolic volume (EDV) but is also used to track respiration cycles. Other uses for an impedance measuring circuit include, but are not limited to, lead impedance surveillance during the acute and chronic phases for proper lead positioning or dislodgement; detecting operable electrodes and automatically switching to an operable pair if dislodgement occurs; measuring respiration or minute ventilation; measuring thoracic impedance for determining shock thresholds; detecting when the device has been implanted; measuring stroke volume; and detecting the opening of heart valves, etc. The impedance measuring circuit 115 is advantageously coupled to the switch 174 so that impedance at any desired electrode may be will soon as the obtained.

FIG. 3 illustrates a functional block diagram of the EI 201 that is operated in accordance with embodiments herein. The EI 201 may be a workstation, a portable computer, a tablet computer, a smart watch, an IMD programmer, a PDA, a cell phone and/or the like. The EI 201 may include an internal bus 301 that may connect/interface with a Central Processing Unit (“CPU”) 302, ROM 304, RAM 306, a hard drive 308, a speaker 310, a printer 312, a CD-ROM drive 314, a floppy drive 316, a parallel I/O circuit 318, a serial I/O circuit 320, the display 322, a touchscreen 324, a standard keyboard 326, custom keys 328, and an RF subsystem 330. The internal bus 301 is an address/data bus that transfers information between the various components described herein. The hard drive 308 may store operational programs as well as data, such as stimulation waveform templates and detection thresholds.

The CPU 302 typically includes a microprocessor, a micro-controller, or equivalent control circuitry, designed specifically to control interfacing with the EI 201 and with the IMD 101. The CPU 302 may include RAM or ROM memory, logic and timing circuitry, state machine circuitry, and I/O circuitry to interface with the IMD 101. The display 322 (e.g., may be connected to the video display 332). The display 322 displays various information related to the processes described herein. The touchscreen 324 may display graphic information relating to the IMD 101 and include a graphical user interface. The graphical user interface may include graphical icons, scroll bars, buttons, and the like which may receive or detect user or touch inputs 334 for the EI 201 when selections are made by the user. Optionally the touchscreen 324 may be integrated with the display 322. The keyboard 326 (e.g., a typewriter keyboard 336) allows the user to enter data to the displayed fields, as well as interface with the RF subsystem 330. Furthermore, custom keys 328 turn on/off 338 (e.g., EVVI) the EI 201. The printer 312 prints copies of reports 340 for a physician to review or to be placed in a patient file, and the speaker 310 provides an audible warning (e.g., sounds and tones 342) to the user. The parallel I/O circuit 318 interfaces with a parallel port 344. The serial I/O circuit 320 interfaces with a serial port 346. The floppy drive 316 accepts diskettes 348. Optionally, the serial I/O port may be coupled to a USB port or other interface capable of communicating with a USB device such as a memory stick. The CD-ROM drive 314 accepts CD ROMs 350. One or more scanning schedules are stored in the RAM 306, ROM 304, on a CD ROM 350, or elsewhere.

The RF subsystem 330 includes a central processing unit (CPU) 352 in electrical communication with an RF circuit 354, which may communicate with both the memory 356 and an analog out circuit 358. The analog out circuit 358 includes communication circuits to communicate with analog outputs 364. The EI 201 may wirelessly communicate with the IMD 101 and utilize protocols, such as Bluetooth, Bluetooth low energy, MICS, and/or the like. For example, the memory 356, ROM 304, and/or RAM 306 may include Protocol firmware, which is accessed by the CPU 352 and/or 302. The protocol firmware provides the wireless protocol syntax for the CPU 352 and/or 302 160 to assemble data packets, establish communication links 104, and/or partition data received from the IMD 101. The RF subsystem 330 and CPU 352 enter scanning states and establish communication sessions as described herein.

Advertisement and Scan Scheduling

FIG. 4 is a timing diagram 500 for establishing the wireless bi-directional communication link 104 between the IMD 101 and the EI 201. The timing diagram 500 includes two communication sessions, a first communication session 501 and a second communication session 518. During the communication sessions 501, 518 the IMD 101 and the EI 201 may exchange data packets along the wireless bi-directional communication link 104. Each of the communication sessions 501, 518 are established by the IMD 101 and the EI 201 based on an advertising state 508, 514 defined as described herein. The advertising states 508, 514 are followed by an exchange of connection request and connection responses which occurred during an interval generally referred to as an establishment state 512, 516.

During the advertising state 508 and 514, the IMD 101 may periodically transmit data packets corresponding to advertisement notices along one or more advertising channels. For example, the advertisement notices may be repeated, at intervals defined by an advertising schedule. The advertisement notices may include frequency synchronization information utilized to form the communication link 104, address information of the IMD 101, address information of the EI 201, pairing and/or bonding information, and/or the like to form the wireless bi-directional communication link 104. The information contained in the advertisement notice may be utilized by the EI 201 to establish the wireless bi-directional communication link.

During the scanning operations, the EI 201 scans for the advertisement notices and upon detection transmits a connection request to the IMD 101 to establish the wireless bi-directional communication link 104. The EI 201 monitors the one or more advertisement channels during a scanning window for the advertisement notice. The scanning window corresponds to a length of time the EI 201 may listen to the one or more advertising channels for the advertisement notice. When the EI 201 receives the advertisement notice, the EI 201 may transmit a data packet representing a connection request along the advertisement channel of the received advertisement notice to the IMD 101. The connection request may include instructions, such as a frequency of the data channel for the wireless bi-directional communication link 104. When the IMD 101 receives and confirms the connection request, the IMD 101 may monitor the data channel identified within the connection request for further instructions from the EI 201, thereby establishing the bi-directional communication link 104 starting the communication sessions 501, 518. Additionally or alternatively, the EI 201 and the IMD 101 may initiate a pairing and/or bonding procedure as described in in U.S. Patent Publication No. 2015/0148868, entitled, “SYSTEM AND METHODS FOR ESTABLISHING A COMMUNICATION SESSION BETWEEN AN IMPLANTABLE MEDICAL DEVICE AND AN EXTERNAL DEVICE,” which is expressly incorporated herein by reference.

During the communication session 518, the IMD 101 may transmit sensed data concerning the patient. For example, the IMD 101 may transmit cardiac information, patient physiological information, pulsing information, and/or the like acquired by the IMD 101. The EI 201 may receive the sensed data from the IMD 101. Additionally or alternatively, the EI 201 may reconfigure the IMD 101. For example, the EI 201 may transmit new stimulation parameters, clear the sensed data store in the memory 194, and/or the like. The EI 201 and/or the IMD 101 may further terminate the communication session 518 closing the wireless bi-directional communication link 104 between the EI 201 and the IMD 101. When the link 104 is closed, the IMD 101 returns to a state in which the IMD 101 transmits advertisement notices in accordance with the advertising schedule.

FIG. 5A illustrates an example of an advertising schedule and scanning schedule followed by the IMD 101 and the EI 201, respectively, in connection with establishing the communications session 518. Prior to establishing the communications session 518, the IMD 101 and EI 201 performed transmitting and scanning operations independently of one another. The IMD 101 and EI 201 perform advertising and scanning operations asynchronously, with respect to one another. More specifically, the IMD 101 enters the advertising state 508, remains in the advertising state 508, and terminates the advertising state 508 in accordance with a predetermined protocol independent of and without knowledge of the scanning schedule or scanning state 528 of the EI 201. For example, the IMD 101 may transmit advertisement notices indefinitely, while in the advertising state 508. Alternatively, the IMD 101 may enter the advertising state 508 for predetermined periods of time, followed by quiescent periods of time in which no advertisement notices are transmitted.

Similarly, prior to establishing a communications session 518, the EI 201 enters, remains in, and terminates the scanning state 528 (repeatedly) in accordance with the scanning schedule independent, and without knowledge, of the advertising schedule or advertising state 508 of the IMD 101. For example, the EI 201 may remain in the scanning state 528 indefinitely, or for predetermined durations, followed by quiescent periods of time in which no scanning operations are performed. The IMD 101 remains in the scanning state 528 until the IMD 101 and EI 201 begin exchanging connection information. While the IMD 101 and EI 201 exchange connection information, the IMD 101 and EI 201 may be considered in the establishing state 512 (FIG. 4) to establish a communications session 518 therebetween.

During the advertising state 508, the IMD 101 transmits advertisement notices 505A-505D based on a predetermined advertising schedule (e.g., 195 in FIG. 2). The advertising schedule defines a pattern for the advertisement notices 505A-D, in which the advertisement notices 505A-D are distributed unevenly and separated by unequal advertisement intervals 520, 521. Each advertisement notice has a predetermined notice duration, during which the IMD 101 conveys advertisement information 513. The advertisement information 513 represent one or more data packets that may contain various information, such as frequency synchronization information utilized to form the bi-directional communication link 104 (FIG. 1), address information of the IMD 101, address information of the EI 201, and/or the like. The advertising information 513 may contain additional data and information as defined by the wireless protocol. Additionally or alternatively, the advertisement notices 505A-D may include pairing and/or bondable information (e.g., passkey seed information). The advertisement notices 505A-D are repeated based on the adverting schedule, until the wireless bi-directional communication link 104 is established.

The advertisement notices 505A-505D are separated from one another by advertisement intervals 520, 521 that extend from the beginning of one advertisement notice to the beginning of the next successive advertisement notice. As defined by the advertisement schedule, the first advertisement interval 520 is different in duration (e.g. shorter) than the duration of the second advertisement interval 521. For example, the advertisement interval 521 is substantially longer (e.g. several times longer) than the advertisement interval 520. The advertising schedule defines, among other things, the advertisement intervals 520, 521, an order in which different advertising intervals 520, 521 are to be applied, the advertisement information 513 and the like. The advertisement intervals 520, 521 may be defined in terms of a number of clock cycles based on an internal system clock of the IMD 101.

Turning to the EI 201, the EI remains in the scanning state 528 until the IMD 101 and EI 201 exchanging connection information. During the scanning state 528, the EI 201 scans for advertisement notices during a series of scanning windows 509A-509F based on a scanning schedule. The scanning schedule defines a pattern for the scanning windows 509A-509F, each of which has a predetermined scan duration 530. The scanning windows 509A-F are spaced apart by scanning intervals 532A-532E, where the scanning intervals 532A-532E represent the duration of time between the beginning of successive scanning windows (e.g. 509A and 509B). In the embodiment of FIG. 5A, the scanning intervals 532A-532E each differ in length, and increase in duration (relative to one another) over the course of the scanning state 528. For example, within the set of scanning intervals 532A-532E, the scanning interval 532A is the shortest interval, while the scanning interval 532E is the longest interval, and the scanning intervals 532B-532D have intermediate progressively longer durations.

In the example of FIG. 5A, scanning windows 509A-509F are distributed across a full length of the scanning state 528. Optionally, the scanning windows may be distributed over only a portion of the scanning state 528, while the remaining portion of the scanning state 528 is void of scanning windows. Further, in the example of FIG. 5A, the scanning intervals 532A-E are distributed in a linearly increasing manner over the scanning state 528, such that the scanning intervals 532A-532E are progressively longer in duration that the preceding scanning interval. Optionally, the scanning windows may be distributed in a different manner. For example, a portion of the scanning windows may be spaced apart by a first common scanning interval, while another portion of the scanning windows are spaced apart by a different second scanning interval, etc. In the example of FIG. 5A, the scanning windows 509A-509F have equal duration 530. Optionally, different scanning windows within the scanning state 528 may have different durations.

The IMD 101 and EI 201 operate asynchronously with respect to one another. In connection there with, the advertising state 508 begins and ends at times independent of, and not aligned with, a beginning and ending of the scanning state 528. As explained herein, the advertising schedule may be modified to increase a likelihood that advertisement notices will temporally aligned with scanning windows.

In the example of FIG. 5A, the advertisement notices 505A, 505B occur outside of the scanning state 528. Further, the advertisement notice 505C occurs within the scanning state 528, but between two consecutive scanning windows 509E and 509F. Advertisement notice 505D aligns with a scanning window 509F. During the scanning window 509F, the EI 201 detects the advertisement notice 505D. In response thereto, the EI 201 transmits a connection request 534 to the IMD 101. The IMD 101 receives the connection request 534 and in response thereto, returns a connection response 536 immediately thereafter. When the EI 201 detects the advertisement notice 505B, the IMD 101 and EI 201 enter the establishing state 512 (FIG. 4). The EI 201 returns the connection request 534, followed by the IMD 101 transmitting a connection response 536. Thereafter, the communication session 518 is established.

The content and format of the advertisement notices, connection requests and connection responses may vary based upon the wireless protocol being utilized by the EI 201 and IMD 101. For example, the EI 201 and the IMD 101 may utilize the Bluetooth Low Energy (“BLE”) protocol. The BLE protocol is defined within “Bluetooth Specification Version 4.1,” published Dec. 3, 2013 (incorporated herein by reference).

FIG. 5B illustrates a timing diagram for an advertising schedule and scanning schedule performed by the IMD 101 and the EI 201 in accordance with an alternative embodiment. The IMD 101 remains in an advertising state 558 until exchanging connection information with the EI 201. During the advertising state 558, the IMD 101 transmits advertisement notices 555A-G in accordance with an advertising schedule. The advertisement notices 555A, 555B are separated by a first advertisement interval 570. Advertisement notices 555B-555C are separated by a second advertisement interval 571. Advertisement notices 555C-555F are separated by corresponding advertisement intervals 572-574. Each of advertisement intervals 570-574 differs in length, with the advertisement interval 570 being the shortest, the advertisement interval 571 being the longest, and advertisement intervals 572-574 having intermediate lengths.

The EI 201 perform scanning in accordance with a scanning schedule that defines a scanning state 578, within which scanning windows 559A-559F are grouped near one another within a first segment 560 within the scanning state 578. The scanning windows 559A and 559B are separated by a scanning interval 582A. The scanning windows 559B-559C are separated by scanning interval 582B. The scanning windows 559C-559D are separated by a scanning interval 582C. The scanning intervals 582A-582C differ in length and are progressively longer, with the first scanning interval 582A the shortest. The first segment 560 is followed by a quiet or quiescent (second) segment 562 that is devoid of any scanning windows.

In the example of FIG. 5B, the first segment 560 (including scanning windows) is located at the beginning of a scanning state 578. Optionally, the first segment 560 that includes scanning windows may be positioned at an end of the scanning state 578, or at any intermediate point therein. Additionally or alternatively, the scanning state 578 may include multiple segments, similar to segment 560 that include scanning windows. In addition, the scanning state 578 may include multiple quiescent segments 562 and/or position one or more of the quiescent segments 562 at the beginning, middle and/or in of the scanning state 578.

The advertising state 558 and scanning state 578 overlap in an asynchronous manner with none of the advertisement notices 555A-555F temporally overlapping a scanning window 559A-559D. However, during the next scanning state, the second scanning window 559F temporally aligns with an advertisement notice 555G. Accordingly, the EI 201 detects the advertisement notice 555G and returns a connection request 584. Thereafter, a connection response 586 is returned by the IMD 101 and a communication session 568 is established.

FIG. 5C illustrates a timing diagram for an advertising schedule and scanning schedule performed by the IMD 101 and the EI 201 in accordance with an alternative embodiment. The IMD 101 remains in an advertising state 557 and the EI remains in a scanning state 577 until exchanging connection information. During the advertising state 557, the IMD 101 transmits advertisement notices 553A-C in accordance with an advertising schedule. The advertisement notices 553A-553C are separated by first and second advertisement intervals 561, 563. The advertisement intervals 561-563 differ in length and become progressively longer, with the advertisement interval 561 being shorter than the next advertisement interval 563. Thereafter, the communication session 569 is established.

The EI 201 perform scanning in accordance with a scanning schedule that defines a scanning state 577, within which scanning windows 551A-551E are grouped in a segment 561 that follows an empty or quiescent segment 563 that lacks any scanning windows. The scanning windows 551A-551-E are separated by scanning intervals 581A-581D. The scanning intervals 581A-581D differ in length and are progressively shorter, with the first scanning interval 581A being longer than the next scanning interval 581B, which is longer than the next scanning interval 581C, etc.

In the embodiment of FIG. 5C the advertisement intervals 561-563 grow progressively longer, while the scanning intervals 581A-581D grow progressively shorter. The rates, at which the advertisement intervals and scanning intervals, change may be independent of one another, or may be a function of one another. For example, the advertisement intervals 561-563 may grow progressively longer at a rate that is dependent on, and a function of, the rate of change in the duration of the scanning intervals 581A-581D.

FIGS. 6A and 6B illustrate flowcharts of a method for managing advertising and scanning schedules utilized for establishing of a bi-directional communication link between the EI 201 and the IMD 101. The method may be implemented as a software algorithm, package, or system that directs one or more hardware circuits or circuitry to perform the actions described herein. For example, the operations of the method may represent actions to be performed by one or more circuits that include or are connected with processors, microprocessors, controllers, microcontrollers, Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other logic-based devices that operate using instructions stored on a tangible and non-transitory computer readable medium (e.g., a computer hard drive, ROM, RAM, EEPROM, flash drive, or the like), such as software, and/or that operate based on instructions that are hardwired into the logic of the.

FIG. 6A illustrates a flowchart for a method performed by the IMD 101 during the advertising state. At 602, the processor of the IMD 101 obtains an advertising schedule stored in memory. At 604, the processor sets an advertising interval timer to an advertising interval based on the advertising schedule. For example, with reference to FIG. 5A, the processor may set the advertising interval timer to correspond to the advertising interval 520.

At 606, the transmitter of the IMD 101 (e.g., RF circuit 110) transmits an advertisement notice. At 608, a receiver within the IMD 101 (e.g., RF circuit 110) scans one or more channels for a connection request. At 610, the processor of the IMD determines whether an incoming connection request is valid. For example, when a connection request is received, the content of the connection request is analyzed by the processor to determine whether the connection request is directed to the IMD 101 and has been transmitted from an authorized EI 201. For example, connection requests may be transmitted by various wireless devices. The IMD 101 may receive such connection requests even though various connection requests are not directed to the IMD 101, nor transmitted from an authorized EI 201. As one example, a valid connection request may include identification information corresponding to the IMD 101. For example, when the IMD 101 conveys an advertisement notice, the advertisement notice may include a serial number or other identification information unique to the IMD 101. An authorized EI 201, upon receiving an advertisement notice, returns the serial number and/or other identification information in a connection request. At 610, the IMD 101 analyzes the content of incoming connection request for the serial number and/or other identification information originally transmitted from the IMD 101 in advertisement notice.

Optionally, alternative information may be included in advertisement notice and connection request, and alternative types of analysis may be performed to validate incoming connection request, based on a corresponding protocol.

At 610, when a valid connection request is received, flow branches to 618. At 618, the advertising state is terminated and an establishing state is initiated in connection with establishing a communication session. At 618, the transmitter of the IMD 101 transmits a connection response. At 620, the IMD 101 and the EI 201 establish a communications session.

Alternatively, at 610, when no connection request is received or an invalid connection request is received, flow continues to 614. At 614, the processor of the IMD waits for the advertising interval timer to time out. At 614, when the interval timer times out, flow continues to 616. At 616, the processor of the IMD determines whether to repeat another advertising operation using the same advertising interval. When the same advertising interval is to be repeated for the next advertisement notice, flow returns to 606. Otherwise, flow returns to 604 where a new advertising interval is set from the advertising schedule.

For example, with reference to FIG. 5A, during a first iteration through the operations of FIG. 6A, the advertising interval timer is set to the advertising interval 520. During the second iteration, the advertising interval timer is set to a longer advertising interval 521. During a third iteration, the advertising interval is again set to the shorter advertising interval 520. Once advertising interval 505D is transmitted, a connection request 534 is received and flow branches in FIG. 6A as discussed above.

FIG. 6B illustrates a flowchart for a method performed by the EI 201 during the scanning state. At 632, the processor of the EI 201 obtains a scanning schedule stored in memory. At 634, the processor sets a scanning interval timer to a scanning interval based on the scanning schedule. For example, with reference to FIG. 5A, the processor may set the scanning interval timer to correspond to the scanning interval 532A. At 634, the processor also sets a window duration timer that defines the duration for the scanning window.

At 636, the receiver of the EI 201 opens a scanning window to scan for an advertisement notice. The receiver scans one or more channels for an advertisement notice. At 640, the processor of the EI 201 determines whether an advertisement notice was detected and if so, whether the incoming advertisement notice is from the IMD 101. For example, when an advertisement notice is received, the content of the advertisement notice is analyzed by the processor to determine whether the advertisement notice is directed to the EI 201 and has been transmitted from an authorized IMD 101. Advertisement notices are transmitted by various wireless devices. The EI 201 may detect advertisement notices from various devices, even though the advertisement notices are not directed to the EI 201, nor transmitted from the IMD 101. As one example, a valid advertisement notice may include identification information corresponding to the IMD 101. For example, when the IMD 101 conveys an advertisement notice, the advertisement notice may include a serial number or other identification information unique to the IMD 101. When a valid advertisement notice is detected, flow branches to 642. Otherwise flow continues to 646.

At 642, upon receiving a valid advertisement notice, the EI 201 returns a connection request. For example, the connection request may include an EI serial number and/or other EI identification information. The connection request may also include information from the advertisement notice. At 644, the EI 201 scans for a connection response. As explained above in connection with FIG. 6A, when the IMD 101 detects a valid connection request, the IMD 101 returns a connection response.

At 650, the processor determines whether a connection response has been received. When a connection response is received, flow moves to 652 where a communication session is established. Alternatively, when no connection response is received, at 650 flow branches to continue the scanning operations. In the example of FIG. 6B, when no connection response is received, the process may return to 634 where a new scanning interval timer and scanning window duration timer are set. Alternatively, flow may return to various other points within the operations of FIG. 6B. At 642, the scanning state is terminated and the establishing state is initiated in connection with establishing a communication session.

Alternatively, at 640, when no advertisement notice is received or an invalid advertisement notice is received, flow continues to 646. At 646, the processor of the EI 201 waits for the scanning interval timer to time out. At 646, when the interval timer times out, flow continues to 648. At 648, the processor of the EI 201 determines whether to repeat another scanning operation using the same scanning interval. When the same scanning interval is to be repeated for the next scanning window, flow returns to 636. Otherwise, flow returns to 634 where a new scanning interval is set.

For example, with reference to FIG. 5A, during a first iteration through the operations of FIG. 6B, the scanning interval timer is set to the scanning interval 532A and the window duration is set to window duration 530. During the second iteration, the scanning interval timer is set to a longer scanning interval 532B. During a third iteration, the scanning interval is again set to an even longer scanning interval 532C.

FIG. 7 illustrates a process for changing the advertisement schedule in accordance with an embodiment.

At 702, the processor of the IMD tracks the number of advertising states that have occurred without a successful connection. At 704, the processor of the IMD 101 determines whether the IMD 101 has transmitted an unduly large number of advertisement notices over an excessive number of advertising states without connecting with an EI 201. As explained herein, the transmitter of the IMD 101 repeats the transmitting operation over one or more advertising states, when a connection request from the EI is not detected. When the number of unsuccessful advertising states exceeds a predetermined threshold, flow moves to 706. At 706, the processor of the IMD 101 changes the advertising schedule. For example, the advertising schedule may be switched between predetermined advertising schedules. Additionally or alternatively, one or more advertisement intervals within the advertising schedule may be adjusted. For example, the advertising schedule may be changed by at least one of i) changing one or both of first and second advertisement intervals, or ii) adding a third advertisement interval, in order to update the pattern for the advertisement notices. For example, the advertising schedule may change from the schedule illustrated in connection with FIG. 5A to FIG. 5B, or from the schedule illustrated in connection with FIG. 5B to FIG. 5C, or otherwise.

At 708, the processor of the IMD 101, detects when a new EI is communicating with the IMD 101. When a new EI is detected, flow moves to 706 the processor of the IMD 101 may change from a first advertising schedule associated with a first EI, to a second advertising schedule associated with a second EI. It should be recognized that either advertising schedule may be useful with various different EI, however, different advertising schedules may be tailored to correspond to the scanning schedules associated with individual EI. Accordingly, the processor of the IMD 101 may change the advertising schedule based upon different EI that are communicating there with. For example, the IMD 101 may be configured to communicate with multiple EI. Each EI may have a different scanning schedule, power requirements and the like.

Additionally or alternatively, the operations at 710-712 may be performed, through which the IMD 101 learns a relation between the alignment of a scanning state and advertising state. At 710, the processor of the IMD 101 identifies a tag in a connection request (transmitted from an EI 201). The tag indicates the position of the scanning window (along the scanning state) at which the EI 201 first detected an advertisement notice. For example, when an EI 201 detects an advertisement notice during the first scanning window within a scanning state, the EI 201 may return (in the connection request) a tag indicating that the corresponding scanning window was the first scanning window in the scanning state. Alternatively, when the EI 201 detects an advertisement notice during a later scanning window or the last scanning window in the scanning state, the EI 201 returns a corresponding tag in the connection request. Based upon the tag within the connection request, at 710, the processor of the IMD 201 determines the point along the scanning state at which an advertisement notice was first detected.

At 712, the processor of the IMD determines whether to adjust the advertisement schedule based on the tag. For example, when the tag indicates that an early scanning window in a scanning state to detected an advertisement notice, no adjustment of the advertising schedule may be warranted. Alternatively, when the tag in a connection request indicates that a later or intermediate scanning window was the first scanning window to detect the advertising notice, and adjustment of the advertising schedule may be warranted. For example, the advertising schedule could be adjusted by shifting the advertising intervals, changing a number of scanning windows, shifting the positions of the scanning windows within the scanning state, or otherwise. The nature of the adjustment in the advertising schedule may be dependent on the position of the scanning window that detected the advertisement notice. When an adjustment in the advertisement schedule is warranted, flow moves to 706 where the advertising schedule is changed. Otherwise, the operations of FIG. 7 end.

Optionally, the method of FIG. 7 may be repeated to change the scanning schedule in one or more manners. For example, the scanning schedule may be changed by at least one of i) changing one or more scanning intervals, or ii) adding additional scanning intervals, in order to update the pattern for the scanning windows. For example, the scanning schedule may change from the schedule illustrated in connection with FIG. 5A to FIG. 5B, or from the schedule illustrated in connection with FIG. 5B to FIG. 5C, or otherwise. The scanning schedule may be changed for various reasons.

For example, the scanning schedule may be changed when the EI 201 scans for an unduly large number of scanning windows without connecting with an IMD 101. In connection there with, the receiver of the EI 201 repeats the scanning operation, over one or more scanning states, when an advertisement notice from the IMD is not detected. Periodically, the processor of the EI 201 determines a duration of one or more scanning states that have occurred without a successful connection. When the duration of the unsuccessful scanning states exceeds a predetermined threshold, the processor may change the scanning schedule. For example, the scanning schedule may be switched between predetermined scanning schedules. Additionally or alternatively, one or more scanning intervals within the scanning schedule may be adjusted.

Additionally or alternatively, the processor of the EI 201 may change the scanning schedule based upon different IMD that are communicating there with. For example, the EI 201 may be configured to communicate with multiple IMD. Each IMD may have a different advertising schedule, power requirements and the like. The processor of the EI 201, may determine that the EI 201 is to communicate with a new IMD. In connection there with, the processor of the EI 201 may change from a first scanning schedule associated with a first IMD, to a second scanning schedule associated with a second IMD. It should be recognized that either scanning schedule may be useful with various different IMD, however, different scanning schedules may be tailored to correspond to the advertising schedules associated with individual IMD.

The foregoing discussion has been in connection with IMDs operating in a advertising state, while external instruments operate in a scanning state. Optionally, the foregoing operations may be reversed, such that IMDs operate in a scanning state, while external devices operate in an advertising state. When the transmitting and scanning operations are reversed, the IMD implements the scanning operations in accordance with a corresponding scanning schedule as described herein. The external instrument implements advertising operations in accordance with a corresponding advertising schedule as described herein.

Closing

It should be clearly understood that the various arrangements and processes broadly described and illustrated with respect to the Figures, and/or one or more individual components or elements of such arrangements and/or one or more process operations associated of such processes, can be employed independently from or together with one or more other components, elements and/or process operations described and illustrated herein. Accordingly, while various arrangements and processes are broadly contemplated, described and illustrated herein, it should be understood that they are provided merely in illustrative and non-restrictive fashion, and furthermore can be regarded as but mere examples of possible working environments in which one or more arrangements or processes may function or operate.

As will be appreciated by one skilled in the art, various aspects may be embodied as a system, method or computer (device) program product. Accordingly, aspects may take the form of an entirely hardware embodiment or an embodiment including hardware and software that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects may take the form of a computer (device) program product embodied in one or more computer (device) readable storage medium(s) having computer (device) readable program code embodied thereon.

Any combination of one or more non-signal computer (device) readable medium(s) may be utilized. The non-signal medium may be a storage medium. A storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a storage medium would include the following: a portable computer diskette, a hard disk, a random access memory (RAM), a dynamic random access memory (DRAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

Program code for carrying out operations may be written in any combination of one or more programming languages. The program code may execute entirely on a single device, partly on a single device, as a stand-alone software package, partly on single device and partly on another device, or entirely on the other device. In some cases, the devices may be connected through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made through other devices (for example, through the Internet using an Internet Service Provider) or through a hard wire connection, such as over a USB connection. For example, a server having a first processor, a network interface, and a storage device for storing code may store the program code for carrying out the operations and provide this code through its network interface via a network to a second device having a second processor for execution of the code on the second device.

Aspects are described herein with reference to the figures, which illustrate example methods, devices and program products according to various example embodiments. These program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing device or information handling device to produce a machine, such that the instructions, which execute via a processor of the device implement the functions/acts specified. The program instructions may also be stored in a device readable medium that can direct a device to function in a particular manner, such that the instructions stored in the device readable medium produce an article of manufacture including instructions which implement the function/act specified. The program instructions may also be loaded onto a device to cause a series of operational steps to be performed on the device to produce a device implemented process such that the instructions which execute on the device provide processes for implementing the functions/acts specified.

The units/modules/applications herein may include any processor-based or microprocessor-based system including systems using microcontrollers, reduced instruction set computers (RISC), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), logic circuits, and any other circuit or processor capable of executing the functions described herein. Additionally or alternatively, the modules/controllers herein may represent circuit modules that may be implemented as hardware with associated instructions (for example, software stored on a tangible and non-transitory computer readable storage medium, such as a computer hard drive, ROM, RAM, or the like) that perform the operations described herein. The above examples are exemplary only, and are thus not intended to limit in any way the definition and/or meaning of the term “controller.” The units/modules/applications herein may execute a set of instructions that are stored in one or more storage elements, in order to process data. The storage elements may also store data or other information as desired or needed. The storage element may be in the form of an information source or a physical memory element within the modules/controllers herein. The set of instructions may include various commands that instruct the modules/applications herein to perform specific operations such as the methods and processes of the various embodiments of the subject matter described herein. The set of instructions may be in the form of a software program. The software may be in various forms such as system software or application software. Further, the software may be in the form of a collection of separate programs or modules, a program module within a larger program or a portion of a program module. The software also may include modular programming in the form of object-oriented programming. The processing of input data by the processing machine may be in response to user commands, or in response to results of previous processing, or in response to a request made by another processing machine.

It is to be understood that the subject matter described herein is not limited in its application to the details of construction and the arrangement of components set forth in the description herein or illustrated in the drawings hereof. The subject matter described herein is capable of other embodiments and of being practiced or of being carried out in various ways. Also, it is to be understood that the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. The use of “including,” “comprising,” or “having” and variations thereof herein is meant to encompass the items listed thereafter and equivalents thereof as well as additional items.

It is to be understood that the above description is intended to be illustrative, and not restrictive. For example, the above-described embodiments (and/or aspects thereof) may be used in combination with each other. In addition, many modifications may be made to adapt a particular situation or material to the teachings herein without departing from its scope. While the dimensions, types of materials and coatings described herein are intended to define various parameters, they are by no means limiting and are illustrative in nature. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. The scope of the embodiments should, therefore, be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled. In the appended claims, the terms “including” and “in which” are used as the plain-English equivalents of the respective terms “comprising” and “wherein.” Moreover, in the following claims, the terms “first,” “second,” and “third,” etc. are used merely as labels, and are not intended to impose numerical requirements on their objects or order of execution on their acts. 

What is claimed is:
 1. A method for managing establishment of a communications link between an external instrument (EI) and an implantable medical device (IMD), the method comprising: storing, in a memory in at least one of the IMD or the EI, an advertising schedule that defines a pattern for advertisement notices, wherein the advertisement notices are distributed un-evenly and separated by unequal advertisement intervals; transmitting, from a transmitter in at least one of the IMD or the EI, the advertisement notices distributed as defined by the advertising schedule; and establishing a communication session between the IMD and the EI.
 2. The method of claim 1, wherein the advertising schedule includes first and second advertisement intervals associated with first and second advertisement notices, respectively, wherein the first and second advertisement intervals differ from one another; the transmitting operation comprising transmitting the first and second advertisement notices based on the first and second advertisement intervals.
 3. The method of claim 2, further comprising alternating the transmitting operation between the first and second advertisement intervals.
 4. The method of claim 1, wherein the advertising schedule includes at least first, second and third advertisement notices, wherein the first and second advertisement notices are spaced apart by a first advertisement interval and the second and third advertisement notices are spaced apart by a second advertisement interval that is longer than the first advertisement interval.
 5. The method of claim 1, further comprising determining when a connection request is received from the EI in connection with one of the advertisement notices.
 6. The method of claim 1, further comprising changing the advertising schedule by at least one of i) changing one or both of first and second advertisement intervals, or ii) adding a third advertisement interval, in order to update the pattern for the advertisement notices.
 7. The method of claim 6, further comprising: repeating the transmitting operation, over an advertising state, when a connection request from the EI is not detected; determining a duration of the advertising state; and performing the changing operation when the duration of the advertising state exceeds a predetermined threshold.
 8. The method of claim 6, further comprising detecting a new EI, and performing the changing operation when the EI changes from a first EI to a second EI.
 9. A method for managing establishment of a communications link between an external instrument (EI) and an implantable medical device (IMD), the method comprising: storing, in a memory of at least one of the IMD or the EI, a scanning schedule that defines a pattern for scanning windows over a scanning state, wherein the scanning windows are grouped in a first segment of the scanning state; scanning for advertisement notices, utilizing a receiver in at least one of the IMD or the EI, during scanning windows, wherein the scanning windows are grouped in the first segment as defined by the scanning schedule; repeating the scanning operation; establishing a communication link between the IMD and the EI; and reconfiguring the scanning schedule by changing at least one of i) a number of the scanning windows, ii) a spacing between the scanning windows, or iii) a duration of the first segment, in order to update the pattern for the scanning windows.
 10. The method of claim 9, wherein the scanning schedule defines a second segment of the scanning state, the second segment of the scanning state representing a quiescent segment that is devoid of scanning windows, wherein a duration of the second segment is at least as long as a duration of the first segment.
 11. The method of claim 9, wherein the scanning operation comprises opening at least first, second and third scanning windows, in the first segment, with an un-even spacing therebetween such that the first and second scanning windows are separated by a first scanning interval and the second and third scanning windows are separated by a different second scanning interval.
 12. The method of claim 9, wherein the scanning windows in the first segment are spaced apart from one another by scanning intervals, the scanning intervals linearly increasing between successive scanning windows.
 13. An implantable medical device (IMD), comprising: a memory storing an advertising schedule that defines a pattern for advertisement notices, wherein the advertisement notices are distributed un-evenly and separated by unequal advertisement intervals; a transmitter configured to transmit the advertisement notices distributed un-evenly and separated by the unequal advertisement intervals as defined by the advertising schedule; and a processor configured to establish a communication link between the IMD and at least a first external instrument (EI).
 14. The IMD of claim 13, wherein the advertising schedule includes first and second advertisement intervals associated with first and second advertisement notices, respectively, wherein the first and second advertisement intervals differ from one another, the transmitter configured to transmit the first and second advertisement notices based on the first and second advertisement intervals.
 15. The IMD of claim 14, wherein the transmitter is configured to alternate transmission between the first and second advertisement intervals.
 16. The IMD of claim 13, wherein the advertising schedule includes at least first and second advertisement notices to be spaced apart by an interval that is shorter than a duration of at least one of the first or second advertisement notices.
 17. The IMD of claim 13, wherein the processor is further configured to determine when a connection request is received from at least the first EI in connection with one of the advertisement notices.
 18. The IMD of claim 13, wherein the processor is further configured to change the advertising schedule by at least one of i) changing one or both of first and second advertisement intervals, or ii) adding a third advertisement interval, in order to update the pattern for the advertisement notices.
 19. The IMD of claim 18, wherein the transmitter is configured to repeat the transmitting operation, over the scanning state, when a connection request from at least the first EI is not detected, and the processor is configured to: determine a duration of the scanning state; and perform the change when the duration of the scanning state exceeds a predetermined threshold.
 20. The IMD of claim 18, wherein the processor is further configured to: detect a second EI; and perform the change when the EI changes from the first EI to the second EI. 